import request from "@/utils/request";
import defaultSettings from "@/settings";

// 大小额贷记退汇
export const apiUrlConfig = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsReexchange/HvpsBepsCreditReexChangeEntry/search`,
  exportUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsReexchange/HvpsBepsCreditReexChangeEntry/search`,
  delUrl: `${defaultSettings.ctx.cnapsApp}`,
};

// 明细
export function detail(params) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsReexchange/HvpsBepsCreditReexChangeEntry/detail`,
    method: "get",
    params,
  });
}

// 提交
export function submit(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsReexchange/HvpsBepsCreditReexChangeEntry/save`,
    method: "post",
    data,
  });
}


export const apiUrlConfig382 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsReexchange/HvpsBepsCreditReexChangeEntry/query382DetailSearch`,

};
